package com.yang.po;

/**
 * @Description: 角色类
 * @author: Yang Qiang
 * @create: 2021-11-07 16:14
 */
public class Role {

    private String name;

    private User user;

    public Role() {
    }

    public Role(String name, User user) {
        this.name = name;
        this.user = user;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
